using System;

using Sunyi.Project.WebPoint.DataAccessController;
using Sunyi.Project.WebPoint.DataContract;

namespace Sunyi.Project.WebPoint.BusinessLogic
{
    public partial class IssueManager
    {
        IssueDaoController controller = new IssueDaoController();

        public Issue Select(Guid issueId)
        {
            return controller.Select(issueId);
        }

        public void Insert(Issue issue)
        {
            controller.Insert(issue);
        }

        public void Update(Issue issue)
        {
            controller.Update(issue);
        }

        public void Delete(Guid id)
        {
            controller.Delete(id);
        }

        public void Save(Issue issue)
        {
            controller.Save(issue);
        }
    }
}
